<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" charset="UTF-8">
    <title>Title</title>

    <link rel="stylesheet" href="../css/bootstrap.css">
    <link rel="stylesheet" href="../css/bootstrap-table.min.css">

    <script src="../js/jquery-3.3.1.js"></script>
    <script src="../js/bootstrap.bundle.min.js"></script>
    <script src="../js/bootstrap-table.min.js"></script>
    <script src="../js/bootstrap-table-zh-CN.min.js"></script>
    <script src="../js/rolemenu.js"></script>

    <style>
        body {
            background-color: #d1ecf1;
            font-size: 16px;
        }
        #button {
            width: 180px;
        }
        #checkbox {
            width: 20px;
            height: 20px;
            margin-top: 13px;
        }
        #div{
            border-style: groove;
            margin-left:20px;
            margin-top: 10px;
            background-color:#f8fafa;
            width: 450px;
        }
    </style>

</head>
<body >
<div class=" h-100" style="width: 50%;margin-top: 20px;">
    <div class="text-left" style="margin-left: 20px;">
        <h3>授予/收回角色菜单</h3>
    </div>
    <div class="container" id="div" >
        <form id="formyi"  action="/Rolemenu.do/DelAdd?auths=RoleMenu" method="post">
            <div>
                <div class="form-group" id>
                    <label class="col-form-label">角色ID:</label>
                    <input type="hidden" name="roleid">
                    <input type="text" readonly name="rolename" style="font-weight: 600;color: red;"
                           class="form-control">
                </div>
                <div>
                    <p id="AMname">选择菜单:</p>
                </div>
                <div id="AM">

                </div>
                <div  style="margin-left: 20px;margin-top:10px;height: 30px;" class="text-left">
                </div>
                <div class="text-center" style="width: 100%">
                    <button type="button" class="btn btn-secondary" onclick="fh()">取消</button>
                    <button type="button" style="margin-left: 20px;" onclick="submit()" class="btn btn-primary">提交</button>
                </div>
                <div style="margin-top: 20px;">
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>